<!DOCTYPE html>
<html lang="zh-cn" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
        <div th:text="${item}" th:attr="vs=${time}"> 添加成功|自定义属性</div>
        不转义[[${time}]]<br>
        [(${time})]

        <br/>
        <div th:attr="a1=${item},a2=${time}">多个属性中间用逗号分隔</div>
    </body>
</html>